package com.dj.dormitory.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dj.dormitory.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dj.dormitory.entity.req.StuReq;
import com.dj.dormitory.entity.vo.StuVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author DJ同学
 * @since 2021-01-24
 */
public interface StudentService extends IService<Student> {

    List<StuVo> getAll();

    Map<String,Object> getList(StuReq stuReq);

    StuVo getOneByUserId(Integer userId);

    Integer getSIdByUserId(Integer userId);
}
